// File Name: CustomUIAutomationCPP.h

#ifndef CUSTOMUIAUTOMATIONCPP_H
#define CUSTOMUIAUTOMATIONCPP_H

#include <UIAutomation.h>
#include <UIAutomationCore.h>
#include "RotateClientSideCustomProvider.h"
#include "ServerSideCustomProvider.h"

namespace UIAutomationCPP
{
	extern int Rotate_PatternID;
	extern int Rotate_Value_PropertyID;
	extern int Rotate_IsReadOnly_PropertyID;
	extern int RotatePatternAvailable_PropertyID;
	extern int Rotate_Reset_EventID;

	public class CustomUIAutomationCPP
	{
		public:
			CustomUIAutomationCPP();
			virtual ~CustomUIAutomationCPP();
			CustomUIAutomationCPP& operator = (CustomUIAutomationCPP&);

			int RegisterRotateProperty();
			int RegisterRotateEvent();
			int RegisterRotatePattern();

			LRESULT CustomControlWndProc(HWND, UINT, WPARAM, LPARAM);
			ServerSideCustomProvider* serve;
			RotateClientSideCustomProvider* proxy;
	};
}
#endif
